﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Composition;

namespace IRM.Messaging
{
    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple=false)]
    public class MessageHandlerAttribute : ExportAttribute
    {
        public MessageHandlerAttribute() : base(typeof(IMessageHandler))
        {
        }

        public string Type { get; set; }
    }
}
